﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="ContactUs.aspx.cs" Inherits="Microserve.TeleEye.Web.ContactUs" %>

<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="cc1" %>
<%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="maincontent">
        <div class="toolboxlist" runat="server" id="toolboxlist">
        </div>
        <div id="sectionTitle" class="sectiontitle" runat="server">
        </div>
        <div id="rightTitle" class="sectionsubtitle" runat="server">
        </div>
        <div id="sectionAbstract" class="abstract" runat="server">
        </div>
        <div class="abstract">
            You can also fill up the form below and we will get in touch with you at your most
            convinient time.</div>
        <form id="Form1" runat="server" style="color: #444444;" class="abstract">
        <div style="margin-top: 20px; margin-bottom: 50px;" runat="server" id="pnlResponse"
            visible="True">
            <asp:Label ID="lblErrorMessage" runat="server" Font-Underline="False" ForeColor="Red"
                class="fields"></asp:Label>
        </div>
        <div id="fields" runat="server" class="fields">
            <table>
                <tr>
                    <td width="100px">
                        Name:<span style="color: #FF0000"> * </span>
                    </td>
                    <td>
                        <asp:TextBox ID="txtName" runat="server" class="inputfield"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Text="*required"
                            ControlToValidate="txtName"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td width="100px">
                        Company:<span style="color: #FF0000"> * </span>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCompanyName" runat="server" class="inputfield"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Text="*required"
                            ControlToValidate="txtCompanyName"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td width="100px">
                        Email:<span style="color: #FF0000"> * </span>
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmail" runat="server" class="inputfield"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" Text="*required" ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                            ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*This 
                    is not a valid email address.</asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td width="100px">
                        Contact number:
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactNumber" runat="server" class="inputfield"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td width="100px" valign="top">
                        Message:
                    </td>
                    <td>
                        <asp:TextBox ID="txtIndustry" runat="server" class="inputfield" Height="91px" TextMode="MultiLine"></asp:TextBox>
                        <br />
                    </td>
                </tr>
            </table>
            <br />
            Type the word to verify that you are human:
            <recaptcha:RecaptchaControl ID="recaptcha" runat="server" PublicKey="6LdkBsMSAAAAAP3o54fi4p_JsmuaJv6d3UFve-r4"
                PrivateKey="6LdkBsMSAAAAAFZP8UQXUI-WulBEAuiJNSA5GOFG" />
            <asp:TextBox ID="txtCaptcha" runat="server" Visible="false" />
            <br />
            <asp:Button ID="btnSend" runat="server" Text="Send" OnClick="btnSend_Click" />
            <br />
        </div>
        </form>
        <div id="featuredproducts">
            <asp:DataList ID="featuredProducts" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                RepeatLayout="Table" ItemStyle="featuredproduct">
                <ItemTemplate>
                    <div class="featuredproductimage">
                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"Image") %>' />
                    </div>
                    <asp:HyperLink ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Name") %>'
                        Target='<%# DataBinder.Eval(Container.DataItem,"Target") %>' NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"Url") %>'></asp:HyperLink>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>
